<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            background: red;
            transition: 1s;
            margin-top: 100px;
        }

        /*div:hover {*/
        /*transform: rotate(360deg) scale(2);*/
        /*}*/

        body:hover div:nth-child(1) {
            transform: translate(100px) scale(2);
        }

        body:hover div:nth-child(2) {
            transform: scale(2) translate(100px);
        }
    </style>
</head>
<body>

<!--
            transform执行顺序：先写的后执行，后写的先执行；

-->
<div>lang1</div>
<div>lang2</div>
</body>
</html>